package org.elanfox.intellicommunity.biz.vo;

import lombok.Data;
import org.elanfox.intellicommunity.biz.entity.resident.UserPO;

/**
 * @author loutianxi
 * @date 2019-12-26
 */
@Data
public class SelectUserVO {
    private Integer userId;
    private String name;
    private Long cardNo;

    public SelectUserVO(UserPO userPO) {
        this.userId = userPO.getUserId();
        this.name = userPO.getName();
        this.cardNo = userPO.getCard().getCardNo();
    }
}
